#include <stdio.h>
#include <stdlib.h>
#include "list.h"

struct My_DATA {
    list_t list;
    int Data_1;
    int Data_2;
    int Data_3;
};

int main() {
    struct My_DATA *dataPtr = (struct My_DATA *) malloc(sizeof(struct My_DATA));
    list_t *ptrNode = (list_t *) dataPtr; 

    printf("address of dataPtr is %p and sizeof *dataPtr is %ld\n", dataPtr, sizeof(*dataPtr));
    printf("address of ptrNode is %p and sizeof *ptrNode is %ld\n", ptrNode, sizeof(*ptrNode));
    

}

